﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Hollywood_List.aspx.cs"
    Inherits="CSMF.Management.Page_Hollywood.Hollywood_List" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        body
        {
            margin-left: 0px;
            margin-top: 0px;
            margin-right: 0px;
            margin-bottom: 0px;
            font-size: 12px;
            font-family: Arial;
            background-color: #EEF2FB;
        }
    </style>
    <link href="../images/skin.css" rel="stylesheet" type="text/css" />

    <script src="../js/OpenWindows.js" type="text/javascript"></script>

</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td width="17" valign="top" style="background: url(../images/mail_leftbg.gif)">
                    <img alt="" src="../images/left-top-right.gif" width="17" height="29" />
                </td>
                <td valign="top" style="background: url(../images/content-bg.gif)">
                    <table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg"
                        id="table2">
                        <tr>
                            <td height="31">
                                <div class="titlebt">
                                    &nbsp;&nbsp;视频列表</div>
                            </td>
                        </tr>
                    </table>
                </td>
                <td width="16" valign="top" style="background: url(../images/mail_rightbg.gif)">
                    <img alt="" src="../images/nav-right-bg.gif" width="16" height="29" />
                </td>
            </tr>
            <tr>
                <td valign="middle" style="background: url(../images/mail_leftbg.gif)">
                    &nbsp;
                </td>
                <td valign="top" bgcolor="#F7F8F9">
                    <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
                        <tr>
                            <td>
                                <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
                                    <tr>
                                        <td class="left_txt">
                                            当前位置：视频管理&nbsp;>&nbsp;好莱坞视频列表
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="20">
                                            <table width="100%" height="1" border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC">
                                                <tr>
                                                    <td>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <table width="100%" height="55" border="0" cellpadding="0" cellspacing="0">
                                                <tr>
                                                    <td width="10%" height="55" valign="middle">
                                                        <img alt="" src="../images/title.gif" width="54" height="55" />
                                                    </td>
                                                    <td width="90%" valign="middle">
                                                        <span class="left_txt2">本页面为：查看好莱坞视频信息。</span><br />
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="nowtable">
                                                <tr>
                                                    <td class="left_bt2">
                                                        &nbsp;&nbsp;&nbsp;&nbsp;好莱坞视频列表
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:GridView ID="gvPhoto" runat="server" AutoGenerateColumns="False" Width="100%"
                                                BackColor="White" BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px"
                                                CellPadding="3" ForeColor="Black" GridLines="Vertical" OnRowDeleting="gvPhoto_RowDeleting">
                                                <RowStyle HorizontalAlign="Center" Height="30px" />
                                                <FooterStyle BackColor="#eeeeee" HorizontalAlign="Center" Height="30px" />
                                                <Columns>
                                                    <asp:BoundField DataField="ID" HeaderText="ID" />
                                                    <asp:TemplateField HeaderText="团队">
                                                        <ItemTemplate>
                                                            <%# BindType(Convert.ToInt32(Eval("TeamID")))%>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="视频标题">
                                                        <ItemTemplate>
                                                            <a onclick="javascript:showWindows('Hollywood_Detail.aspx?id=<%# Eval("ID") %>',600,1000,100,100);"
                                                                style="cursor: hand">
                                                                <%# Eval("Title")%></a>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:BoundField DataField="Point" HeaderText="视频得分" />
                                                    <asp:BoundField DataField="Count" HeaderText="视频播放数" />
                                                    <asp:TemplateField HeaderText="视频">
                                                        <ItemTemplate>
                                                            <a onclick="javascript:showWindows('../Page_HollywoodLoaction/HLoaction_Detail.aspx?videoID=<%# Eval("ID") %>',600,1000,100,100);"
                                                                style="cursor: hand">修改 </a>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="操作 Operation">
                                                        <ItemTemplate>
                                                            <a onclick="javascript:showWindows('Hollywood_Detail.aspx?id=<%# Eval("ID") %>',600,1000,100,100);"
                                                                style="cursor: hand">
                                                                <img alt="修改" src="../images/edit.gif" />
                                                            </a>&nbsp;
                                                            <asp:LinkButton ID="lbDelete" runat="server" CommandName="Delete" CommandArgument='<%# Eval("ID") %>'
                                                                OnClientClick="return confirm('确认要删除此行信息吗？')"><img alt="删除" src="../images/delete.gif" /></asp:LinkButton>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                </Columns>
                                                <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                                                <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                                                <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" Height="25px" />
                                                <AlternatingRowStyle BackColor="#D1DDF1" />
                                            </asp:GridView>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <webdiyer:AspNetPager ID="AspNetPager1" runat="server" FirstPageText="首页" LastPageText="尾页"
                                                NextPageText="后页" PrevPageText="前页" ShowPageIndexBox="Never" HorizontalAlign="Justify"
                                                CssClass="anpager" CurrentPageButtonClass="cpb" OnPageChanging="AspNetPager1_PageChanging"
                                                CustomInfoHTML="第%CurrentPageIndex%页，共%PageCount%页，每页%PageSize%条  共<span style='color:red'>%RecordCount%</span>条记录"
                                                CustomInfoTextAlign="Right" ShowCustomInfoSection="Right">
                                            </webdiyer:AspNetPager>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <input id="btnAdd" type="button" value="添加视频" onclick="javascript:showWindows('Hollywood_Add.aspx',600,1000,100,100);" />
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </td>
                <td style="background: url(../images/mail_rightbg.gif)">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td valign="bottom">
                    <img alt="" src="../images/buttom_left2.gif" width="17" height="17" />
                </td>
                <td style="background: url(../images/buttom_bgs.gif)">
                    <img alt="" src="../images/buttom_bgs.gif" width="17" height="17" />
                </td>
                <td valign="bottom">
                    <img alt="" src="../images/buttom_right2.gif" width="16" height="17" />
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
